package com.sbtr.business.user.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 用户信息表，仅记录登录过系统的用户信息
 * </p>
 *

 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class UserInfo implements Serializable {

    private static final long serialVersionUID=1L;

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.ID_WORKER)
    private Long id;

    /**
     * 用户姓名/ cn
     */
    private String username;

    /**
     * 用户mip账号/ uid
     */
    private String uid;

    /**
     * 用户所属部门名称/ meicloud-departmentname
     */
    private String departmentName;

    /**
     * 职位名称/ meicloud-positionname
     */
    private String positionName;


}
